#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>

typedef int Stdatetype;

typedef struct stack
{
	Stdatetype* date;
	int top;
	int capacity;
}stack;

void StackInit(stack* sp);
void StackDestroy(stack* sp);
void StackPush(stack* sp,Stdatetype x);
void StackPop(stack* sp);
int StackEmpty(stack* sp);
int StackSize(stack* sp);
Stdatetype StackTop(stack* sp);


